import request from "../utils/requst";


/*
 * 添加 涂装 点检设备
 */
export const addPlantCheckDevices = (device) => {
  return request({
    method: 'POST',
    url: '/api/device/addPlantCheckDevices',
    data: {
      device
    }
  })
}
/*
 * 获取 涂装 点检设备
 */
export const getPlantCheckDeviceList = () => {
  return request({
    method: 'GET',
    url: '/api/device/getPlantCheckDeviceList',
    data: {}
  })
}


/*
 * 添加 机加工 点检设备
 */
export const addMachineCheckDevice = (device) => {
  return request({
    method: 'POST',
    url: '/api/device/addMachineCheckDevice',
    data: {
      device
    }
  })
}
/*
 * 获取 机加工 点检设备
 */
export const getMachineDeviceList = () => {
  return request({
    method: 'GET',
    url: '/api/device/getMachineDeviceList',
    data: {}
  })
}

/*
 * 添加 铸造 点检设备
 */
export const addFoundyCheckDevice = (device) => {
  return request({
    method: 'POST',
    url: '/api/device/addFoundyCheckDevice',
    data: {
      device
    }
  })
}


/*
 * 获取 铸造 点检设备
 */
export const getFoundyDeviceList = () => {
  return request({
    method: 'GET',
    url: '/api/device/getFoundyDeviceList',
    data: {}
  })
}
